package com.base.pig.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @ProjectName intelligent-city
 * @Package com.pig4cloud.pig.lab.entity
 * @ClassName ScAnnotationType
 * @Description 标注类型表
 * @Company lab
 * @Author zgq
 * @Date 2020/7/20 16:32
 * @UpdateUser
 * @UpdateDate
 * @UpdateRemark
 * @Version 1.0.0
 */
@Data
@TableName("sc_annotation_type")
public class ScAnnotationType {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long pid;

    private String name;

    @TableField(exist = false)
    private List<ScAnnotationType> childScAnnotationTypeList;
}
